﻿using System;
namespace GtsServer.Model
{
	/// <summary>
	/// Order:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Order
	{
		public Order()
		{}
		#region Model
		private string _orderaccount;
		private int _id;
		private int _expenseid;
		private decimal _price;
		private int _state;
		private DateTime? _paytime;
		private int _prizeid;
        private DateTime? _createtime;
        private int _imsi;
        private string _cardNum;
        private string _cardPwd;
        private int _cardPrice;
        private int _op;
        private int _coinType;

        /// <summary>
        /// 比赛币类型1为金币，其余的为比赛币
        /// </summary>
        public int CoinType
        {
            get { return _coinType; }
            set { _coinType = value; }
        }

        /// <summary>
        /// 运营商
        /// </summary>
        public int Op
        {
            get { return _op; }
            set { _op = value; }
        }
        /// <summary>
        /// 面值
        /// </summary>
        public int CardPrice
        {
            get { return _cardPrice; }
            set { _cardPrice = value; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string CardPwd
        {
            get { return _cardPwd; }
            set { _cardPwd = value; }
        }
        /// <summary>
        /// 卡号
        /// </summary>
        public string CardNum
        {
            get { return _cardNum; }
            set { _cardNum = value; }
        }
        /// <summary>
        /// 手机Imsi号码
        /// </summary>
        public int Imsi
        {
            get { return _imsi; }
            set { _imsi = value; }
        }

        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime? Createtime
        {
            get { return _createtime; }
            set { _createtime = value; }
        }
		/// <summary>
		/// 订单号
		/// </summary>
		public string OrderAccount
		{
			set{ _orderaccount=value;}
			get{return _orderaccount;}
		}
		/// <summary>
		/// 用户id
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 付费方式id
		/// </summary>
		public int ExpenseID
		{
			set{ _expenseid=value;}
			get{return _expenseid;}
		}
		/// <summary>
		/// 支付金额
		/// </summary>
		public decimal Price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 支付状态
		/// </summary>
		public int State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 支付时间
		/// </summary>
		public DateTime? PayTime
		{
			set{ _paytime=value;}
			get{return _paytime;}
		}
		/// <summary>
		/// 购买物品id
		/// </summary>
		public int PrizeID
		{
			set{ _prizeid=value;}
			get{return _prizeid;}
		}
		#endregion Model

	}
}

